package com.kunlun.basedata.dao;

import com.kunlun.basedata.model.RoleModel;
import com.kunlun.basedata.model.SystemFileModel;
import com.kunlun.basedata.model.vo.SystemFileVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ISystemFileDao {

    List<SystemFileVo> getAllFiles(Map<String, Object> queryMap) throws Exception;

    int getFilesCount(Map<String, Object> queryMap) throws Exception;

    void addFile(SystemFileModel fileModel) throws Exception;

    void onDelete(@Param("ids") List<String> ids) throws Exception;
}
